<template>
 <ScrollNumber :value="price"></ScrollNumber>
</template>
<script>
import ScrollNumber from '@/components/page/scrollNumber'
 export default {
   components: {
    ScrollNumber
   },
  data() {
   return {
     price: 1002341.09
   }
  },
  created() {
    // 定时增长数字
    this.timer = setInterval(() => {
    this.price +=3
    }, 3000) 
  },
  mounted() {},
  methods: {}
 }
</script>
 
  